package hhm.javamode.adapter;

import java.io.UnsupportedEncodingException;

import hhm.javamode.base.utils.FileUtil;

public class FileUtilUTF8Adapter extends FileUtil implements IFileService {

	@Override
	public String Encoded() {

		String result = null;
		try {
			result = new String(getTxt().getBytes(), "utf-8");
		} catch (UnsupportedEncodingException e) {
			e.printStackTrace();
		}
		return result;
	}

}
